package com.meida.module.bus.client.enums;

import com.baomidou.mybatisplus.annotation.IEnum;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.NoArgsConstructor;

/**
 * 注册方式
 *
 * @author jzy
 * @date 2021/7/9
 */
@NoArgsConstructor
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum CheckRecordStateEnum implements IEnum<Integer> {

    youXiao(1, "有效"),
    wuXiao(2, "无效");

    private Integer value;

    @ApiModelProperty("描述")
    private String label;

    CheckRecordStateEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }

    @Override
    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }
}
